﻿@model VisaApp.Models.ModelThontinAndCauHoi
@{ VisaApp.Helper.StringHelpers nameurl = new VisaApp.Helper.StringHelpers();}
@if (Model != null)
{
    <h1 class="h1Tuvan">
        Thông tin tham khảo
    </h1>
    <ul class="sayingContentList">
        @foreach (var itemCode in Model.thongtinlistModel)
        {
            <li>
                    <a class="aTtHuDetails" href="/thong-tin-huu-ich/@nameurl.RemoveSign4VietnameseString(itemCode.Name)/@itemCode.Id">@itemCode.Name</a>
            </li>
        }
    </ul>
    <h1 class="h1Tuvan">
        Câu hỏi thường gặp
    </h1>
    <ul class="sayingContent">
        @foreach (var item in Model.cauhoilistModel)
        {
                
            <li class="note">
                <div id="@item.Id">
                    <img src="/Content/images/customerIcon.png">
                    <div class="textVissa">
                        <p class="">
                            "@Html.Raw(item.Title)"
                        </p>
                        <div class="" style="padding-left: 10px; padding-bottom: 7px">
                            @Html.Raw(item.Noidung)
                        </div>
                        <span class="datepost">Gửi lúc: @string.Format("{0:HH:mm dd/MM/yyyy}", item.DateCreate)
                        </span>
                        <br>
                        <span class="nameKH">@item.Name - @item.Email </span><span style="float: right;">
                            <br>
                        </span>
                        <div clas="tl" class="answer">
                            <img src="/Content/images/visalogo.gif" class="avatar">
                            <div class="textAnswer">
                                <span class="traloi">Trả lời </span>
                                <div class="clr">
                                </div>
                                <p class="normal-font">
                                    "@Html.Raw(item.Traloi)"</p>
                                <span class="Nguoitraloi">Bởi Visa </span>
                            </div>
                            <div class="clr">
                            </div>
                        </div>
                    </div>
                    <div class="clr">
                    </div>
                </div>
            </li>
        }
    </ul>
}
